from src.api.base_api import BaseApi


class Colonel(BaseApi):

    def __init__(self, base_url):
        super().__init__(base_url)

    def simple_list(self):
        """
        get
        新增样品单，下拉框选择团长，返回团长数据
        https://ck-medium-api-test.cds8.cn/v1/colonel/simple_list
        """
        params = {
            'platform': 'dy',
            'page': 1,
            'size': 10
        }
        res_data = self.send(method='get', path='colonel/simple_list', params=params)
        return res_data
